<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>loading页面</title>

    <style>
        *{
            margin: 0 auto;
            padding: 0 auto;
        }
        body{
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
        }
        .loading{
            max-width: 50%;
            line-height: 1.4;
            font-size: 1.2rem;
            font-weight: bold;
            text-align: center;
        }
        .loading_author{
            font-weight: normal;
            font-size: 0.9rem;
            color: rgba(189,189,189,1);
            margin: 0.6rem 0 2rem 0;
            display: block;
        }
        .loading_anim{
            width: 35px;
            height: 35px;
            display: block;
            border: 5px solid rgba(189,189,189,.25);
            margin-top: 10px;
            border-left-color: rgba(3,155,229,1);
            border-top-color: rgba(3,155,229,1);
            border-radius: 50%;
            animation: rotate 600ms infinite linear;
        }
        /*动画 start*/
        @keyframes rotate{
            to {
                transform: rotate(1turn); /*1turn==360deg*/
            }
        }
        /*动画 end*/
    </style>

</head>
<body>
    
    <!--
        功能：
            1、使用html+css实现一个loading页面
        从学习链接：
            https://juejin.im/post/5af54bbb518825426d2d2e63
    -->
    <section class="loading">
        一个loading页面
        <span class="loading_author">
            chen
            <!-- loading加载标记 -->
            <span class="loading_anim"></span>
        </span>
    </section>

</body>
</html>